home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / c / sozobon / sozlib15.zoo / sozdistr / include / xdlibs / ar.h next >
Encoding:
C/C++ Source or Header  |  1994-06-15  |  446 b   |  25 lines

  1. #line 1/*CED 8 0014 */
  2. /*
  3.  * Archive header format
  4.  *
  5.  * Archives must start with a word containing the magic number
  6.  * 0xff65 or 0xff66, with 0xff66 being reserved for a random-
  7.  * access object module library.
  8.  */
  9.  
  10. #define ARMAG1    0xff65
  11. #define ARMAG2    0xff66
  12.  
  13. struct    ar_hdr {
  14.     char    ar_name[14];
  15.     ushort    ar_time;
  16.     ushort    ar_date;
  17.     char    ar_uid;
  18.     char    ar_gid;
  19.     uint    ar_mode;
  20.     long    ar_size;
  21.     int    ar_fill;
  22. };
  23.  
  24. #define ARHSZ    (sizeof (struct ar_hdr))
  25.